package com.leyikao;

/**
 * 平台错误信息定义
 * 
 * @author LoadChange
 * @since 2015-06-04
 */
public class ErrorInfo {
	
	public final static String ERROR_SUCCESS = "0";
	public final static String ERROR_FAIL = "00";

	public final static String ERROR_ACCESS_CODE = "1";
	public final static String ERROR_ACCESS_MESSAGE = "非法请问";

	public final static String ERROR_PARAM_FORMAT_CODE = "2";
	public final static String ERROR_PARAM_FORMAT_MESSAGE = "输入json参数格式有误";

	public final static String ERROR_MD5_CODE = "3";
	public final static String ERROR_MD5_MESSAGE = "Md5校验不通过";

	public final static String ERROR_DB_CODE = "4";
	public final static String ERROR_DB_MESSAGE = "数据库接口调用失败";

	public final static String ERROR_UPLOAD_FILE_NULL_CODE = "5";
	public final static String ERROR_UPLOAD_FILE_NULL__MESSAGE = "上传文件不能为空";

	public final static String ERROR_UPLOAD_ERROR_CODE = "6";
	public final static String ERROR_UPLOAD_ERROR__MESSAGE = "上传文件失败";

	public final static String ERROR_SERVICE_CODE_NOTEXIST_CODE = "7";
	public final static String ERROR_SERVICE_CODE_NOTEXIST__MESSAGE = "交易码不存在";

	public final static String ERROR_SERVICE_CODE_NULL_CODE = "8";
	public final static String ERROR_SERVICE_CODE_NULL__MESSAGE = "交易码不能为空";

	public final static String ERROR_SEND_SMS_CODE = "9";
	public final static String ERROR_SEND_SMS_MESSAGE = "短信下发失败";
}
